<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" Codebehind="GetPass.aspx.cs"
    Inherits="ClickSocial.GetPass" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
      <asp:PasswordRecovery ID="PasswordRecovery1" runat="server">
        <QuestionTemplate>
          <table border="0" cellpadding="1" align="center">
            <tr>
              <td>
                <table border="0" cellpadding="0">
                  <tr>
                    <td align="center" colspan="2">
                      <b>Confirmaci&oacute;n de identidad</b></td>
                  </tr>
                  <tr>
                    <td align="center" colspan="2">
                      Responda su pregunta para recibir la clave.</td>
                  </tr>
                  <tr>
                    <td align="right">
                      Usuario:</td>
                    <td>
                      <asp:Literal ID="UserName" runat="server"></asp:Literal>
                    </td>
                  </tr>
                  <tr>
                    <td align="right">
                      Pregunta:</td>
                    <td>
                      <asp:Literal ID="Question" runat="server"></asp:Literal>
                    </td>
                  </tr>
                  <tr>
                    <td align="right">
                      <asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer">Respuesta:</asp:Label></td>
                    <td>
                      <asp:TextBox ID="Answer" runat="server"></asp:TextBox>
                      <asp:RequiredFieldValidator ID="AnswerRequired" runat="server" ControlToValidate="Answer"
                        ErrorMessage="Answer is required." ToolTip="Answer is required." ValidationGroup="PasswordRecovery1">*</asp:RequiredFieldValidator>
                    </td>
                  </tr>
                  <tr>
                    <td align="center" colspan="2" style="color: red">
                      <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                    </td>
                  </tr>
                  <tr>
                    <td align="right" colspan="2">
                      <asp:Button ID="SubmitButton" runat="server" CommandName="Submit" Text="Enviar" ValidationGroup="PasswordRecovery1" />
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </QuestionTemplate>
        <UserNameTemplate>
          <table border="0" cellpadding="1">
            <tr>
              <td>
                <table border="0" cellpadding="0">
                  <tr>
                    <td align="center" colspan="2">
                      <b>&iquest;Olvido su clave?</b></td>
                  </tr>
                  <tr>
                    <td align="center" colspan="2">
                      Ingrese su nombre de usuario para recivir su clave.</td>
                  </tr>
                  <tr>
                    <td align="right">
                      <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Usuario:</asp:Label></td>
                    <td>
                      <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                      <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                        ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="PasswordRecovery1">*</asp:RequiredFieldValidator>
                    </td>
                  </tr>
                  <tr>
                    <td align="center" colspan="2" style="color: red">
                      <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                    </td>
                  </tr>
                  <tr>
                    <td align="right" colspan="2">
                      <asp:Button ID="SubmitButton" runat="server" CommandName="Submit" Text="Continuar" ValidationGroup="PasswordRecovery1" />
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </UserNameTemplate>
        <SuccessTemplate>
          <table border="0" cellpadding="1">
            <tr>
              <td>
                <table border="0" cellpadding="0">
                  <tr>
                    <td>
                      La clave fu&eacute; enviado a su e-mail</td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </SuccessTemplate>
      </asp:PasswordRecovery>

</asp:Content>
